Optimal. Leaf size=57 \[ -\frac {1}{(a+b x) (b d-a e)}-\frac {e \log (a+b x)}{(b d-a e)^2}+\frac {e \log (d+e x)}{(b d-a e)^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {27, 44} \begin {gather*} -\frac {1}{(a+b x) (b d-a e)}-\frac {e \log (a+b x)}{(b d-a e)^2}+\frac {e \log (d+e x)}{(b d-a e)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 44
Rubi steps
\begin {align*} \int \frac {1}{(d+e x) \left (a^2+2 a b x+b^2 x^2\right )} \, dx &=\int \frac {1}{(a+b x)^2 (d+e x)} \, dx\\ &=\int \left (\frac {b}{(b d-a e) (a+b x)^2}-\frac {b e}{(b d-a e)^2 (a+b x)}+\frac {e^2}{(b d-a e)^2 (d+e x)}\right ) \, dx\\ &=-\frac {1}{(b d-a e) (a+b x)}-\frac {e \log (a+b x)}{(b d-a e)^2}+\frac {e \log (d+e x)}{(b d-a e)^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 53, normalized size = 0.93 \begin {gather*} \frac {e (a+b x) \log (d+e x)-e (a+b x) \log (a+b x)+a e-b d}{(a+b x) (b d-a e)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{(d+e x) \left (a^2+2 a b x+b^2 x^2\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 93, normalized size = 1.63 \begin {gather*} -\frac {b d - a e + {\left (b e x + a e\right )} \log \left (b x + a\right ) - {\left (b e x + a e\right )} \log \left (e x + d\right )}{a b^{2} d^{2} - 2 \, a^{2} b d e + a^{3} e^{2} + {\left (b^{3} d^{2} - 2 \, a b^{2} d e + a^{2} b e^{2}\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 95, normalized size = 1.67 \begin {gather*} -\frac {b e \log \left ({\left | b x + a \right |}\right )}{b^{3} d^{2} - 2 \, a b^{2} d e + a^{2} b e^{2}} + \frac {e^{2} \log \left ({\left | x e + d \right |}\right )}{b^{2} d^{2} e - 2 \, a b d e^{2} + a^{2} e^{3}} - \frac {1}{{\left (b d - a e\right )} {\left (b x + a\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 57, normalized size = 1.00 \begin {gather*} -\frac {e \ln \left (b x +a \right )}{\left (a e -b d \right )^{2}}+\frac {e \ln \left (e x +d \right )}{\left (a e -b d \right )^{2}}+\frac {1}{\left (a e -b d \right ) \left (b x +a \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.36, size = 92, normalized size = 1.61 \begin {gather*} -\frac {e \log \left (b x + a\right )}{b^{2} d^{2} - 2 \, a b d e + a^{2} e^{2}} + \frac {e \log \left (e x + d\right )}{b^{2} d^{2} - 2 \, a b d e + a^{2} e^{2}} - \frac {1}{a b d - a^{2} e + {\left (b^{2} d - a b e\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.58, size = 76, normalized size = 1.33 \begin {gather*} \frac {1}{\left (a\,e-b\,d\right )\,\left (a+b\,x\right )}-\frac {2\,e\,\mathrm {atanh}\left (\frac {a^2\,e^2-b^2\,d^2}{{\left (a\,e-b\,d\right )}^2}+\frac {2\,b\,e\,x}{a\,e-b\,d}\right )}{{\left (a\,e-b\,d\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.70, size = 233, normalized size = 4.09 \begin {gather*} \frac {e \log {\left (x + \frac {- \frac {a^{3} e^{4}}{\left (a e - b d\right )^{2}} + \frac {3 a^{2} b d e^{3}}{\left (a e - b d\right )^{2}} - \frac {3 a b^{2} d^{2} e^{2}}{\left (a e - b d\right )^{2}} + a e^{2} + \frac {b^{3} d^{3} e}{\left (a e - b d\right )^{2}} + b d e}{2 b e^{2}} \right )}}{\left (a e - b d\right )^{2}} - \frac {e \log {\left (x + \frac {\frac {a^{3} e^{4}}{\left (a e - b d\right )^{2}} - \frac {3 a^{2} b d e^{3}}{\left (a e - b d\right )^{2}} + \frac {3 a b^{2} d^{2} e^{2}}{\left (a e - b d\right )^{2}} + a e^{2} - \frac {b^{3} d^{3} e}{\left (a e - b d\right )^{2}} + b d e}{2 b e^{2}} \right )}}{\left (a e - b d\right )^{2}} + \frac {1}{a^{2} e - a b d + x \left (a b e - b^{2} d\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________